﻿<Page
    x:Class="Sample02_D2D_DPI.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Sample02_D2D_DPI"
	xmlns:dxaml="using:DXBase.XAML"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
	<dxaml:ScenePanel x:Name="dxPanel">
		<Canvas>
			<StackPanel Canvas.Top="10" Canvas.Left="10" Orientation="Horizontal" Margin="10" Background="#40000000">
				<TextBlock Foreground="White" VerticalAlignment="Center" FontSize="24" Margin="10"
						   Text="DPI:"/>
				<Slider Width="128" Minimum="64" Maximum="192" Margin="10" VerticalAlignment="Center"
						Value="{Binding Scene.Dpi, Mode=TwoWay, ElementName=dxPanel}"
						/>
				<TextBlock Width="100" Foreground="White" VerticalAlignment="Center" FontSize="24" Margin="10"
						   Text="{Binding Scene.Dpi, Mode=TwoWay, ElementName=dxPanel}"/>
			</StackPanel>

		</Canvas>
	</dxaml:ScenePanel>
</Page>
